package com.ftdigital.primemovers_operators.model;

import com.ftdigital.primemovers_operators.config.RequestAddr;

/**
 * Created by Curry on 2015-12-29.
 * 加油评价详情
 */
public class AddDetail {

    /**
     * flag : true
     * data : {"total":"","car_num":"京A9999","detail":"","totalprice":"￥440","icon_url":"2.png","qty":"100.00L","gasstation_name":"承德1站","car_type":"17.5","user_name":"张曲言","price":"5￥/L","convention_price":"4.4￥/L","emp_no":"ZZ101","company_name":"河北物流公司","gas_type":"0# 柴油","descs":"德邦（上海）运输有限公司邓州分公司（甲方）与上海佑嘉石油化工有限公司于2015 年9月01日签订了为期1年的用油合同"}
     * msg : 成功
     */
    private boolean flag;
    private DataEntity data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * total :
         * car_num : 京A9999
         * detail :
         * totalprice : ￥440
         * icon_url : 2.png
         * qty : 100.00L
         * gasstation_name : 承德1站
         * car_type : 17.5
         * user_name : 张曲言
         * price : 5￥/L
         * convention_price : 4.4￥/L
         * emp_no : ZZ101
         * company_name : 河北物流公司
         * gas_type : 0# 柴油
         * descs : 德邦（上海）运输有限公司邓州分公司（甲方）与上海佑嘉石油化工有限公司于2015 年9月01日签订了为期1年的用油合同
         */
        private String total;
        private String car_num;
        private String detail;
        private String totalprice;
        private String icon_url;
        private String qty;
        private String gasstation_name;
        private String car_type;
        private String user_name;
        private String price;
        private String convention_price;
        private String emp_no;
        private String company_name;
        private String gas_type;
        private String descs;

        public void setTotal(String total) {
            this.total = total;
        }

        public void setCar_num(String car_num) {
            this.car_num = car_num;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public void setTotalprice(String totalprice) {
            this.totalprice = totalprice;
        }

        public void setIcon_url(String icon_url) {
            this.icon_url = icon_url;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public void setGasstation_name(String gasstation_name) {
            this.gasstation_name = gasstation_name;
        }

        public void setCar_type(String car_type) {
            this.car_type = car_type;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setConvention_price(String convention_price) {
            this.convention_price = convention_price;
        }

        public void setEmp_no(String emp_no) {
            this.emp_no = emp_no;
        }

        public void setCompany_name(String company_name) {
            this.company_name = company_name;
        }

        public void setGas_type(String gas_type) {
            this.gas_type = gas_type;
        }

        public void setDescs(String descs) {
            this.descs = descs;
        }

        public String getTotal() {
            return total;
        }

        public String getCar_num() {
            return car_num;
        }

        public String getDetail() {
            return detail;
        }

        public String getTotalprice() {
            return totalprice;
        }

        public String getIcon_url() {
            return RequestAddr.imageUrl + icon_url;
        }

        public String getQty() {
            return qty;
        }

        public String getGasstation_name() {
            return gasstation_name;
        }

        public String getCar_type() {
            return car_type;
        }

        public String getUser_name() {
            return user_name;
        }

        public String getPrice() {
            return price;
        }

        public String getConvention_price() {
            return convention_price;
        }

        public String getEmp_no() {
            return emp_no;
        }

        public String getCompany_name() {
            return company_name;
        }

        public String getGas_type() {
            return gas_type;
        }

        public String getDescs() {
            return descs;
        }
    }
}
